﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="UcQuanLyNhanVien.ascx.cs" Inherits="STT.Profile.UserControlsHV.UcQuanLyNhanVien" %>
<style>
        .dropdl { 
        padding:4px;
    }
</style>
<div id="biography" class="page home" data-pos="home">
    <div style="width:90%">
         <div class="row" >
            <div class="col-md-7">
            <h2 class="title"><span id="ctl02_DtlIndex_Label1_0">Thông tin điểm của nhân viên</span></h2>
            </div>                                 
        </div>
         <div class="row" style="margin-top:10px;margin-bottom:20px">
             <div class="col-md-7">
                  Khóa học:
                 <asp:DropDownList ID="ddlkhoahoc" runat="server" AutoPostBack="true" OnSelectedIndexChanged="ddlkhoahoc_SelectedIndexChanged" CssClass="dropdl" ></asp:DropDownList>             
                 &nbsp;&nbsp;&nbsp;
             </div>
        </div>
        <div runat="server" id="dsnhanvien" visible="true">
            <asp:GridView ID="gvNhanvien" runat="server" CssClass="table table-bordered table-hover"
                AutoGenerateColumns="False" DataKeyNames="Mahv"
                OnSelectedIndexChanging="gvNhanvien_SelectedIndexChanging" OnPageIndexChanging="gvNhanvien_PageIndexChanging">
                <Columns>
                       <asp:BoundField DataField="MaHV" HeaderText="Mã học viên"
                        InsertVisible="False" ReadOnly="True" SortExpression="Mahv"
                        ItemStyle-CssClass="span1">
                        <ItemStyle CssClass="span1"></ItemStyle>
                    </asp:BoundField>
                    <asp:TemplateField HeaderText="Tên Học Viên" ShowHeader="true" ItemStyle-CssClass="span1">
                        <ItemTemplate>
                            <asp:Label ID="Label1" runat="server" Text='<%# Eval("TenHV").ToString() +"\t"+ Eval("Ten").ToString() %>'></asp:Label>
                        </ItemTemplate>
                        <ItemStyle CssClass="span1" HorizontalAlign="Center" VerticalAlign="Middle"></ItemStyle>
                    </asp:TemplateField>
                    <asp:BoundField DataField="TenMonHoc" HeaderText="Tên môn học"
                        SortExpression="TenMonHoc" ItemStyle-CssClass="span2">
                        <ItemStyle CssClass="span2"></ItemStyle>
                    </asp:BoundField>
                    <asp:BoundField DataField="DiemTK" HeaderText="Điểm Tổng Kết"
                        SortExpression="DiemTK" ItemStyle-CssClass="span2">
                        <ItemStyle CssClass="span2"></ItemStyle>
                    </asp:BoundField>
                    <asp:BoundField DataField="TenLop" HeaderText="Tên lớp"
                        SortExpression="TenLop" ItemStyle-CssClass="span2">
                        <ItemStyle CssClass="span2"></ItemStyle>
                    </asp:BoundField>
                    <asp:BoundField DataField="TenKhoaHoc" HeaderText="Tên Khóa Học"
                        SortExpression="Ghichu" ItemStyle-CssClass="span1">
                        <ItemStyle CssClass="span1"></ItemStyle>
                    </asp:BoundField>
                    <%--<asp:TemplateField HeaderText="Chi tiết" ShowHeader="False" ItemStyle-CssClass="span1">
                        <ItemTemplate>
                            <asp:ImageButton ID="imgbntchitiet" runat="server" ImageUrl="../../img/detail.jpg" />
                        </ItemTemplate>
                        <ItemStyle CssClass="span1" HorizontalAlign="Center" VerticalAlign="Middle"></ItemStyle>
                    </asp:TemplateField>--%>
                </Columns>
            </asp:GridView>
        </div>
        <div runat="server" id="thongbao" visible="false">
            <asp:Label ID="lblthongbao" runat="server" Text="Không có nhân viên nào trong khóa học này."></asp:Label>
        </div>       
        </div>
</div>